<ui:component xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:richx="http://richfaces.org/richx">

	<style type="text/css">
		.content {
			width:100%;
			height:330px;
			overflow:auto;
		}
	</style>
	
	<rich:modalPanel id="viewRequestPanel" width="480" height="400" zindex="10000">
		<f:facet name="header">
			<h:outputText value="Solicitud en curso"/>
		</f:facet>
		<div class="content">
			<ui:include src="/workflow/viewTransaction.xhtml" />
			<br/>
		</div>
		<br/>
		<a4j:commandButton value="#{messages['button.ok']}"
		oncomplete="#{rich:component('viewRequestPanel')}.hide()">
			<f:setPropertyActionListener value="#{false}" target="#{viewTransactionHelper.renderTransactionData}" />
		</a4j:commandButton>
	</rich:modalPanel>
	
</ui:component>
